/*
 * Drawable.h
 *
 *  Created on: 2012/07/05
 *      Author: weihe
 */

#ifndef DRAWABLE_H_
#define DRAWABLE_H_

#include "glex.h"

namespace object {

class Drawable {
protected:
	Camera *camera;
public:
	Drawable(Camera *camera = NULL) :
			camera(camera)
	{
	}
	virtual ~Drawable()
	{
	}
	virtual bool update(float dt)
	{
		return true;
	}
	virtual void draw() = 0;
};

} /* namespace object */
#endif /* DRAWABLE_H_ */
